package com.ruoyi.common.core.mapper;


import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.common.core.domain.BusinessSign;
import org.springframework.stereotype.Repository;

/**
 * 业务签字Mapper接口
 * @date 2025-09-12
 */
@Repository
public interface BusinessSignMapper  extends BaseMapper<BusinessSign>
{
    IPage<Map<String,Object>> selectPage(IPage<?> page, @Param("p")  Map<String,Object> param);

    void deleteByBusinessAndBusinessIdAndRole(@Param("business") String business, @Param("businessId") Long businessId,@Param("roleFlag") String role);

    BusinessSign findByBusinessAndBusinessIdAndRole(@Param("business") String business, @Param("businessId") Long businessId,@Param("roleFlag") String role);
}
